import React from 'react';

let HOC = (HOC,bool) => {
  return class HOCCOM extends HOC {
    render() {
      if(bool){
        // return <div><HOC {...this.props}/></div>;
        return super.render()
      }else{
        return <div>暂时无法显示</div>
      }
      
      
    }
  };
};

export default HOC
